package com.ccc.demoboot.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ccc.demoboot.pojo.Materialstor;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;


/**
 * @Author wz
 * @Date 2024/6/28 10:53
 * @PackageName:com.ccc.demoboot.dao
 * @ClassName: MaterialstorMapper
 */
public interface MaterialstorMapper extends BaseMapper<Materialstor> {
    List<Map<String, Object>> selectAllMaterialstor(@Param("ew") QueryWrapper queryWrapper, @Param("status") int status, @Param("applyuserid") int applyuserid);


    Map<String,Object> selectOne(@Param("id") int id);

    List<Materialstor> selectMareList();

    List<Map<String, Object>> uniSelectAllMaterialstor(@Param("status") int status, @Param("applyuserid") Integer applyuserid);
}